import { TabItems } from '@/ts/base/model'

const TabList = [
  {
    id: 'person',
    title: '单位成员'
  },
  {
    id: 'organization',
    title: '加入的组织'
  }
]
const Tablecolumns = ['code','nikiName','name','remark']
const Tableheader = [
  {
    field: 'code',
    name: '账号',
    opts: {
      color: '#f5f5f5'
    }
  },{
    field: 'nikiName',
    name: '昵称',
    opts: {
      color: '#f5f5f5'
    }
  },{
    field: 'name',
    name:'姓名',
    opts: {
      color: '#f5f5f5'
    },
  },{
    field: 'remark',
    name:'签名',
    opts: {
      color: '#f5f5f5'
    },
  }
]

const groupColumns = ['label','code','remark']
const groupHeader = [
  {
    field: 'label',
    name:'组织群名称',
    opts: {
      color: '#f5f5f5'
    },
  },
  {
    field: 'code',
    name:'组织群编码',
    opts: {
      color: '#f5f5f5'
    },
  },
  {
    field: 'remark',
    name:'集团简称',
    opts: {
      color: '#f5f5f5'
    },
  }
]
const relationType :TabItems[]= [
  {
    id: '1',
    code: 'all',
    label: '全部'
  },{
    // id: '2',
    // code: 'used',
    // label: '常用'
    id:'2',
    code:'person',
    label:'个人'
  },{
    // id: '3',
    // code: 'new',
    // label: '最近'
    id: '3',
    code:'company',
    label:'单位'
  }
]

const memberListData = [
  {
    id: 'member',
    label:'好友',
    itemType:'',
    icon: '../../../static/members.png',
    isShow: false
  },{
    id: 'group',
    label:'群组',
    itemType:'',
    icon: '../../../static/groups.png',
    isShow: false
  },{
    id: 'files',
    label:'资源',
    itemType:'',
    icon: '../../../static/files.png',
    isShow: false
  }
]

const groupListData = [
  {
    id: 'member',
    label:'成员',
    itemType:'',
    icon: '../../../static/members.png',
    isShow: false
  },{
    id: 'group',
    label:'群组',
    itemType:'',
    icon: '../../../static/groups.png',
    isShow: false
  },{
    id: 'group',
    label:'部门',
    itemType:'',
    icon: '../../../static/department.png',
    isShow: false
  },{
    id: 'group',
    label:'组织群',
    itemType:'',
    icon: '../../../static/org-group.png',
    isShow: false
  },{
    id: 'files',
    label:'资源',
    itemType:'',
    icon: '../../../static/files.png',
    isShow: false
  }
]

const memberTypeList = [
  {
    id: 'members',
    title:'好友'
  },{
    id: 'files',
    title: '文件'
  }
]
const groupTypeList = [
  {
    id: 'members',
    title:'人员'
  },{
    id: 'setting',
    title: '设置'
  }
]

const departmentTypeList = [
  {
    id: 'members',
    title: '成员'
  },{
    id: 'department',
    title: '下级部门'
  }
]
export { TabList,Tablecolumns,Tableheader,relationType,groupColumns,groupHeader,memberListData,memberTypeList,groupListData,groupTypeList,departmentTypeList}
